package com.example.controller.hello;

import com.example.config.DemoAutoConfiguration;
import com.example.properties.DemoStarterProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/9/20 10:14
 */
@RestController
public class HelloController {

    @Autowired
    DemoStarterProperties demoStarterProperties;

    @RequestMapping()
    public String hello(){

        return demoStarterProperties.toString();
    }



}
